package com.cyzy.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@TableName("coupon_seckill")
public class CouponSeckill {

  @TableId(type = IdType.AUTO)
  private long seckillId;
  private long couponId;
  private long seckillNum;
  private long limitNum;
  private java.sql.Timestamp seckillCreateTime;
  private java.sql.Timestamp seckillStartTime;
  private java.sql.Timestamp seckillEndTime;
  private long seckillStatus;

  private long templateId;
  private long couponType;
  private String couponName;
  private long discountRate;
  private long maxDiscount;
  private long minAmount;
  private long deductAmount;
  private String applicableIds;
  private String conditionDesc;
  private long totalCount;
  private long remainingCount;
  private long validDays;
  private java.sql.Timestamp createTime;
  private java.sql.Timestamp updateTime;
  private long status;
  private long applicableScope;
  @TableField(exist = false)
  private String userId;

}
